import layout from '@/layout'
export default {
  path: '/employee',
  component: layout,
  children: [
    {
      path: '/employee',
      name: 'employee',
      component: () => import('@/views/employee/index.vue'),
      meta: {
        title: '员工',
        icon: 'people'
      }
    },
    {
      path: '/employee/detail/:id',
      name: 'employee-detail',
      component: () => import('@/views/employee/detail.vue'),
      // 详情页面不需要在菜单展示
      hidden: true
    }]
}
